package com.gufe.mapper.user.mp;

import com.gufe.entity.Feedback;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface FeedbackMapper {

    @Insert("INSERT INTO feedback (user_id, content, contact, created_time) " +
            "VALUES (#{userId}, #{content}, #{contact}, now())")
    int insert(Feedback feedback);
}